package com.x.springboot.mapper;
import org.apache.ibatis.annotations.Param;

import com.x.springboot.model.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author x.li
 * @since 2021-06-04
 */

 @Mapper
public interface UserMapper extends BaseMapper<User> {

    List<User> query(User user);

    List<User> queryAllByName(@Param("username") String username);
}
